#ifndef LUNTAN_H
#define LUNTAN_H

#include "Interfaces/defs.h"

#include <QWidget>
#include <QLabel>

namespace Ui
{
    class Luntan;
}

class Luntan : public QWidget
{
    Q_OBJECT
public:
    explicit Luntan(QWidget *parent = nullptr);

    void updatePostList(QList<Core::Post> &posts);

signals:

private slots:
    void on_btnPost_clicked();

    void on_btnUpdate_clicked();

    void on_btnQuery_clicked();

private:
    Ui::Luntan *ui;

};

#endif // LUNTAN_H
